﻿<Window x:Class="CECB.V_ViewFiledMatrix_Window"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"

        Title="V_ViewFiledMatrix_Window"  WindowStyle="SingleBorderWindow" Height="768" Width="1024" WindowState="Maximized" 
        mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <Grid Background="#FFF0F0F0">

        <StackPanel Height="56" HorizontalAlignment="Left" Margin="14,8,0,0" Name="stackPanel1" VerticalAlignment="Top" Width="988">
            <Label Content="Project EI Assesment Final Dicission"    HorizontalAlignment="Left"  Height="46" VerticalAlignment="Top" Foreground="#FF3E3832" FontSize="21.333" Width="384" FontWeight="Medium"></Label>
            <StackPanel.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFCDCDCD" Offset="0" />
                    <GradientStop Color="#FFF0F0F0" Offset="1" />
                </LinearGradientBrush>
            </StackPanel.Background>
        </StackPanel>

        <Grid HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,12,14,0">
            <Image Height="32" Margin="2" Source="/CECB;component/images/closeblack.png"  Width="32" MouseLeftButtonDown="Image_MouseLeftButtonDown" />
        </Grid>
        <Canvas Height="645" HorizontalAlignment="Left" Margin="14,72,0,0" Name="canvas1" VerticalAlignment="Top" Width="988">
            <Grid>

                <GroupBox Canvas.Left="17" Canvas.Top="17" Header="Project Details" Height="657" Name="groupBox1" Width="519" Margin="0,-1,-75,-47" BorderBrush="#FF3E3832" BorderThickness="2">
                    <StackPanel Orientation="Vertical">
                        <WrapPanel VerticalAlignment="Top"  Background="#FF3E3832" Orientation="Horizontal" Margin="0,10,0,0" Height="33">
                            <Label Content="Project Refernce" Height="28" Width="128" Name="labelProjRef" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                            <Label BorderBrush="White" BorderThickness="0" Content="Project Reference" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="labelProjrefrnceGenrated" Width="169" />
                        </WrapPanel>

                        <WrapPanel VerticalAlignment="Top" Background="#FF3E3832" Orientation="Horizontal"  Margin="0,10,0,0">
                            <Label Content="Project Name" Height="28" Width="97"  Margin="0,0,0,0" Name="label_projname" HorizontalAlignment="Left"  VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                            <toolkit:AutoCompleteBox Name="ProjectAutocompleteTextBox"  Width="356" Margin="30,0,0,0" Height="30"  ValueMemberPath="proj_name" SelectionChanged="ReferenceTextBox_SelectionChanged" FilterMode="Contains"  ItemsSource="{Binding}"  TabIndex="1" IsTabStop="True"   FontSize="18" Background="#FFFFECA1" Opacity="1" HorizontalAlignment="Center" UseLayoutRounding="False" BorderBrush="#FFF8F8F8" BorderThickness="2">
                                <toolkit:AutoCompleteBox.ItemTemplate>
                                    <DataTemplate>
                                        <StackPanel Orientation="Horizontal">
                                            <TextBlock Text="{Binding Path=proj_name}"/>
                                            <TextBlock Text=" - "/>
                                            <TextBlock Text="{Binding Path=proj_reference}"/>
                                        </StackPanel>
                                    </DataTemplate>
                                </toolkit:AutoCompleteBox.ItemTemplate>
                            </toolkit:AutoCompleteBox>
                        </WrapPanel>

                        <WrapPanel VerticalAlignment="Top" Background="#FF3E3832"   Margin="0,10,0,0" Orientation="Horizontal"  >
                            <Label Content="Project Type" Width="128" Height="28" Name="label_projtype" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                            <TextBox Background="#FFFFECA1" FontSize="16" Foreground="#FF332F2F" Height="28" Name="textBox_ProjType" SelectionBrush="#FF6E6E6E" TextWrapping="Wrap" Width="355" IsReadOnly="True" />

                        </WrapPanel>
                        <WrapPanel VerticalAlignment="Top" Orientation="Horizontal" Background="#FF3E3832"   Margin="0,10,0,0"  >
                            <Label BorderBrush="White" BorderThickness="0" Content="Location" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label22" VerticalAlignment="Top" Width="128" />
                            <TextBox Background="#FFFFECA1" FontSize="16" Foreground="#FF332F2F" Height="28" HorizontalAlignment="Right" Name="textBox_Location" SelectionBrush="#FF6E6E6E" TextWrapping="Wrap" VerticalAlignment="Top" Width="355" IsReadOnly="True" />
                        </WrapPanel>

                        <WrapPanel VerticalAlignment="Top" Margin="0,10,0,0" Background="#FF3E3832">
                            <Expander Header="More Location Details" FontSize="16" FontStyle="Italic" FontWeight="Medium" Foreground="White" Name="expander_locationDetails"  IsEnabled="True"    Margin="0,0,0,0" Height="229">
                                <Grid Height="229" Width="500">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="0*" />
                                        <ColumnDefinition Width="343*" />
                                        <ColumnDefinition Width="70*" />
                                    </Grid.ColumnDefinitions>

                                    <WrapPanel Orientation="Horizontal" Grid.ColumnSpan="2" Margin="0,39,-32,23" Grid.Column="1">
                                        <ListView Canvas.Left="12" Canvas.Top="68" Name="listView1" Width="500"  SelectionMode="Single" Height="160"   Background="#FFFFECA1">
                                            <ListView.View>
                                                <GridView>
                                                    <GridViewColumn Header="Longitude" Width="235" DisplayMemberBinding="{Binding  Loc_longitude}"></GridViewColumn>
                                                    <GridViewColumn Header="Latitude" Width="235" DisplayMemberBinding="{Binding Loc_latitude}"></GridViewColumn>
                                                </GridView>
                                            </ListView.View>
                                        </ListView>
                                    </WrapPanel>
                                    <WrapPanel VerticalAlignment="Top" Background="#FF3E3832" Orientation="Horizontal" Margin="0,4,-6,0" Height="34" Grid.ColumnSpan="2" Grid.Column="1">
                                        <WrapPanel Height="21" Name="wrapPanel5" Width="4" />
                                        <WrapPanel Height="34" Name="wrapPanel7" Width="32" />
                                        <Label Content="Longitude" Height="33" IsEnabled="True" Name="label1" Width="206" Foreground="White" />
                                        <Label Content="Latitude" Height="33" IsEnabled="True" Name="label2" Width="168" Foreground="White" />
                                    </WrapPanel>
                                </Grid>
                            </Expander>
                        </WrapPanel>
                        <WrapPanel></WrapPanel>
                    </StackPanel>
                </GroupBox>


            </Grid>


            <GroupBox Header="" Name="groupBox2" Margin="464,89,30,447" Canvas.Left="73" Canvas.Top="-89" Height="180" Width="445" BorderBrush="#FF3E3832" BorderThickness="2">
                <Grid>
                    <StackPanel Height="151" HorizontalAlignment="Left" Name="stackPanel2" VerticalAlignment="Top" Width="427">
                        <WrapPanel Height="35" Name="wrapPanel51" Width="425" Background="#FF3E3832">
                            <Label BorderBrush="White" BorderThickness="0" Content="Plan Image" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label17" Width="147" />
                            <Label Content="ImageInfo" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label_PlanInfo" Width="182" />
                        </WrapPanel>
                        <StackPanel Background="#FFFFECA1">
                            <Image Height="128" Name="image_Plan" Stretch="Fill" Width="429" />
                        </StackPanel>


                    </StackPanel>
                </Grid>
            </GroupBox>
            <GroupBox Canvas.Left="539" Canvas.Top="186" Header="" Height="181" Name="groupBox4" Width="443" BorderBrush="#FF3E3832" BorderThickness="2">
                <Grid>
                    <StackPanel Height="351" HorizontalAlignment="Left" VerticalAlignment="Top" Width="431">

                        <WrapPanel Height="35" Name="wrapPanesl14" Width="434" Background="#FF3E3832">
                            <Label BorderBrush="White" BorderThickness="0" Content="model Image" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label_model" Width="147" />
                            <Label Content="ImageInfo" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label_ModelImageInfo" Width="182" />
                        </WrapPanel>
                        <StackPanel Background="#FFFFECA1">
                            <Image Height="123" Name="image_model" Stretch="Fill" Width="429" />
                        </StackPanel>
                    </StackPanel>
                </Grid>
            </GroupBox>
            <GroupBox Canvas.Left="540" Canvas.Top="370" Header="Insert Project Final Dicission" Height="181" Name="groupBox4d" Width="443" BorderBrush="#FF3E3832" BorderThickness="2">
                <Grid Height="161">
                    <Button Background="#FFFCFFF8" BorderBrush="{x:Null}" Cursor="Hand" Name="ViewExcell" Click="button_VwFinalExcel_Click" Margin="-1,6,1,106">
                        <Grid Width="286" Height="43">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Image Margin="0,2,2,0" Source="/CECB;component/images/excel.png" Width="34" />
                            <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center">
                                <TextBlock Margin="0" Padding="0" Text="View Final EIA Report" TextWrapping="NoWrap" Width="150" FontSize="14" FontStyle="Italic" />
                            </StackPanel>
                        </Grid>
                    </Button>
                </Grid>
            </GroupBox>
            <GroupBox Header="" Height="86" Name="groupBox5" Width="141" BorderBrush="#FF3E3832" BorderThickness="2" Margin="175,166,-6,-94" Canvas.Left="610" Canvas.Top="391">
                <Grid Width="245">
                    <WrapPanel Name="wrapPanel6" Margin="10,6,0,0" Canvas.Left="107" Canvas.Top="175">
                        <Button Background="{x:Null}" BorderBrush="{x:Null}" Click="button_save_Click" Height="44" Margin="2,0" Name="SaveButton" Width="98">
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <Image Grid.Column="0" Height="32" Margin="2" Source="images\save.png" Width="32" />
                                <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center">
                                    <TextBlock Margin="0" Padding="0" Text="Save" TextWrapping="NoWrap" />
                                </StackPanel>
                            </Grid>
                        </Button>
                    </WrapPanel>
                </Grid>
            </GroupBox>
            <WrapPanel Background="#FF3E3832" Name="wrapPanel18" Width="426" Canvas.Left="548" Canvas.Top="498">
                <Label BorderBrush="White" BorderThickness="0" Content="Final Dicission" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="label16" Width="99" />
                <WrapPanel Height="31" Name="wrapPanel11" Width="58" />
                <RadioButton Content="Approve" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="Gold" Height="20" Width="76" Name="radioButton_Approve" />
                <RadioButton Content="Reject" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="Gold" Height="21" Width="68" Name="radioButton_Reject" />
            </WrapPanel>
            <WrapPanel Background="#FF3E3832" Orientation="Horizontal" Canvas.Left="550" Canvas.Top="448" Width="427">
                <Label BorderBrush="White" BorderThickness="0" Content="Final Result" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="35" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label26" VerticalAlignment="Top" Width="159" />
                <WrapPanel Margin="0,5,0,0" Orientation="Horizontal" VerticalAlignment="Top" />
                <Label Content="Label" Height="28" Name="label27" />
                <Label Content="Label" Height="28" Name="label18" />
                <Label Content="Label" Height="28" Name="label28" />
            </WrapPanel>
        </Canvas>
        <GroupBox Header="EIA Deatails" Height="213" Margin="24,494,0,0" HorizontalAlignment="Left" Name="groupBox12" VerticalAlignment="Top" Width="492" BorderBrush="#FF3E3832">
            <Grid Height="217">
                <WrapPanel Background="#FF3E3832" Canvas.Left="37" Name="WrapPanel_Simple" Canvas.Top="486" Height="29" Margin="14,116,-1,72" Orientation="Horizontal">
                    <Label BorderBrush="White" BorderThickness="0" Content="Simple Criteria " FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label8" VerticalAlignment="Top" Width="136" />
                    <WrapPanel Margin="0,5,0,0" Orientation="Horizontal" VerticalAlignment="Top" />
                    <Label Content="Label_SimpleCriteria" Height="28" Name="Label_SimpleCriteria" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" />
                </WrapPanel>
                <WrapPanel Background="#FF3E3832" Canvas.Left="37" Canvas.Top="442" Name="WrapPanel_Importnce" Height="35" Margin="11,150,3,32" Orientation="Horizontal">
                    <Label BorderBrush="White" BorderThickness="0" Content="Importece Criteria" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label12" VerticalAlignment="Top" Width="135" />
                    <WrapPanel Margin="0,5,0,0" Orientation="Horizontal" VerticalAlignment="Top" />
                    <Label Content="Label_ImportenceCriteria" Height="28" Name="Label_ImportenceCriteria" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" />
                </WrapPanel>
                <WrapPanel Background="#FF3E3832" Canvas.Left="37" Canvas.Top="537" Height="29" Margin="11,115,3,73" Orientation="Horizontal" Name="wrapPanal_Magnitude">
                    <Label BorderBrush="White" BorderThickness="0" Content="Magnitude Criteria" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label13" VerticalAlignment="Top" Width="137" />
                    <WrapPanel Margin="0,5,0,0" Orientation="Horizontal" VerticalAlignment="Top" />
                    <Label Content="Label_MagnitudeCriteria" Height="28" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Name="Label_MagnitudeCriteria" />
                </WrapPanel>
                <WrapPanel Background="#FF3E3832" Canvas.Left="37" Canvas.Top="486" Height="29" Margin="11,80,2,108" Orientation="Horizontal">
                    <Label BorderBrush="White" BorderThickness="0" Content="Matrix " FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label19" VerticalAlignment="Top" Width="135" />
                    <WrapPanel Margin="0,5,0,0" Orientation="Horizontal" VerticalAlignment="Top" />
                    <Label Content="Labe_Metrix" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" Name="Labe_Metrix" />
                </WrapPanel>
                <WrapPanel Background="#FF3E3832" Canvas.Left="35" Canvas.Top="564" Height="29" Margin="11,43,2,145" Orientation="Horizontal">
                    <Label BorderBrush="White" BorderThickness="0" Content="To Date" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label20" VerticalAlignment="Top" Width="139" />
                    <DatePicker Height="25" Name="datePicker_Date" Width="202" AllowDrop="False" IsHitTestVisible="False" />
                </WrapPanel>
                <WrapPanel Background="#FF3E3832" Canvas.Left="37" Canvas.Top="512" Height="27" Margin="11,10,1,180" Name="wrapPanel12">
                    <Label Content="From Date" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="25,0,0,0" Name="label21" VerticalAlignment="Top" Width="137" />
                    <DatePicker Height="25" Name="datePicker_FromDate" Width="202" IsHitTestVisible="False" />
                </WrapPanel>
            </Grid>
        </GroupBox>
    </Grid>
</Window>
